package entity;

import java.io.Serializable;

/**
 * 评论的实体类
 */
public class Comment implements Serializable {
    private static final long serialVersionUID = -1187195376079821740L;
    private int id; //评论id
    private int uid;  //用户id
    private int bid; //微博id
    private String content; //评论内容
    private String time; //评论时间

    private String u_image; //用户的头像
    private String u_name; //用户的昵称

    public Comment(){}


    public Comment(int id, int uid, int bid, String content, String time, String u_image, String u_name) {
        this.id = id;
        this.uid = uid;
        this.bid = bid;
        this.content = content;
        this.time = time;
        this.u_image = u_image;
        this.u_name = u_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getU_image() {
        return u_image;
    }

    public void setU_image(String u_image) {
        this.u_image = u_image;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }
}
